//
//  LMWebTableViewCell.h
//  LMLabelSelect
//
//  Created by xielei on 2022/12/5.
//

#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>
#import "LMWebCellModel.h"
#import "LMViewModelProtocol.h"
@protocol WkwebViewHeightDelegate <NSObject>

- (void)getWkWebViewHeight:(CGFloat)height;

@end

NS_ASSUME_NONNULL_BEGIN

@interface LMWebTableViewCell : UITableViewCell<LMViewProtocol>
@property (assign,nonatomic) id<WkwebViewHeightDelegate> delegate;
@property (strong, nonatomic) WKWebView *loadWebView;
@property (assign, nonatomic) BOOL allowZoom;
- (void)setImagetextContent:(NSString*)content;

@end

NS_ASSUME_NONNULL_END


@interface LMWebTableViewCellModel : NSObject<LMViewModelProtocol>
@property (strong, nonatomic) LMWebCellModel *model;
@property (assign, nonatomic) CGFloat height;
@end
